Solve the equation and verify the answer